@bg-color: #b7d4a8;
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul,li {
    list-style: none;
}
body {
    font: bold 20px 'Courier';
}
#main {
    width: 360px;
    height: 420px;
    background: @bg-color;
    margin: 100px auto;
    border:10px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    border-radius: 10px;
    #stage {
        width: 304px;
        height: 304px;
        position: relative;
        border: 2px solid #000;
        #snake {
            >li{
                width: 10px;
                height: 10px;
                background: #000;
                border:1px solid @bg-color;
                position: absolute;
            }
        }
        #food {
            position: absolute;
            width: 10px;
            height: 10px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: space-between;
            >div {
                width: 4px;
                height: 4px;
                transform: rotate(45deg);
                background: #000;
            }
        }
    }
    #score-panel {
        display: flex;
        width: 100%;
        div {
            flex: 1;
            text-align: center;
        }
    }
}